class AlterTableCollection < ActiveRecord::Migration
  def self.up
    change_column :cultural_heritage_collections, :state, :integer, :default => 1
    change_column :cultural_heritage_collections, :deleted, :integer, :default => 0

    add_column :cultural_heritage_collections, :original_size, :integer, :default => 0
    add_column :cultural_heritage_collections, :current_size, :integer, :default => 0
  end

  def self.down
    #change_column :cultural_heritage_collections, :state, :integer

    remove_column :cultural_heritage_collections, :original_size
    remove_column :cultural_heritage_collections, :current_size
  end
end
